package com.link.base.base.project.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.link.base.base.project.model.Factory;
import com.link.base.base.project.service.FactoryService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;

/**
 * 生产工厂
 *
 * @author 王昊
 * @date 2020-10-13 16:50:02
 */
@Controller
@RequestMapping("/link/factory")
public class FactoryController extends BasicController<Factory> {

    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private FactoryService factoryService;

    @Override
    public BasicService<Factory> getBasicService() throws Exception {
        return factoryService;
    }
}